/**
 * Created by zhaoweizheng on 2018/4/4
 * Description: leaflet聚合样式 from  MarkerCluster.css
 */
/*MarkerCluster CSS*/
.leaflet-cluster-anim .leaflet-marker-icon, .leaflet-cluster-anim .leaflet-marker-shadow {
    -webkit-transition: -webkit-transform 0.3s ease-out, opacity 0.3s ease-in;
    -moz-transition: -moz-transform 0.3s ease-out, opacity 0.3s ease-in;
    -o-transition: -o-transform 0.3s ease-out, opacity 0.3s ease-in;
    transition: transform 0.3s ease-out, opacity 0.3s ease-in;
}

.leaflet-cluster-spider-leg {
    /* stroke-dashoffset (duration and function) should match with leaflet-marker-icon transform in order to track it exactly */
    -webkit-transition: -webkit-stroke-dashoffset 0.3s ease-out, -webkit-stroke-opacity 0.3s ease-in;
    -moz-transition: -moz-stroke-dashoffset 0.3s ease-out, -moz-stroke-opacity 0.3s ease-in;
    -o-transition: -o-stroke-dashoffset 0.3s ease-out, -o-stroke-opacity 0.3s ease-in;
    transition: stroke-dashoffset 0.3s ease-out, stroke-opacity 0.3s ease-in;
}


/**
 * Created by zhaoweizheng on 2018/4/4
 * Description: leaflet Default聚合样式 from  MarkerCluster.Default.css
 */
.marker-cluster-small {
    background-color: rgba(181, 226, 140, 0.6);
}
.marker-cluster-small div {
    background-color: rgba(110, 204, 57, 0.6);
}

.marker-cluster-medium {
    background-color: rgba(241, 211, 87, 0.6);
}
.marker-cluster-medium div {
    background-color: rgba(240, 194, 12, 0.6);
}

.marker-cluster-large {
    background-color: rgba(253, 156, 115, 0.6);
}
.marker-cluster-large div {
    background-color: rgba(241, 128, 23, 0.6);
}

/* IE 6-8 fallback colors */
.leaflet-oldie .marker-cluster-small {
    background-color: rgb(181, 226, 140);
}
.leaflet-oldie .marker-cluster-small div {
    background-color: rgb(110, 204, 57);
}

.leaflet-oldie .marker-cluster-medium {
    background-color: rgb(241, 211, 87);
}
.leaflet-oldie .marker-cluster-medium div {
    background-color: rgb(240, 194, 12);
}

.leaflet-oldie .marker-cluster-large {
    background-color: rgb(253, 156, 115);
}
.leaflet-oldie .marker-cluster-large div {
    background-color: rgb(241, 128, 23);
}

.marker-cluster {
    background-clip: padding-box;
    border-radius: 20px;
}
.marker-cluster div {
    width: 30px;
    height: 30px;
    margin-left: 5px;
    margin-top: 5px;

    text-align: center;
    border-radius: 15px;
    font: 12px "Helvetica Neue", Arial, Helvetica, sans-serif;
}
.marker-cluster span {
    line-height: 30px;
}

/**
 * Created by zhaoweizheng on 2018/4/4
 * Description: leaflet 自定义聚合样式
 */
.cluster90 {
    width: 90px;
    height: 90px;
    line-height: 90px;
    background: url('./images/map1.png') no-repeat;
    text-align: center;
    vertical-align: middle;
    font-size: 10px;
    color: rgb(255, 255, 255);
}

.cluster78 {
    width: 78px;
    height: 78px;
    line-height: 78px;
    background: url('./images/map2.png') no-repeat;
    text-align: center;
    vertical-align: middle;
    font-size: 10px;
    color: rgb(255, 255, 255);
}

.cluster66 {
    width: 66px;
    height: 66px;
    line-height: 66px;
    background: url('./images/map3.png') no-repeat;
    text-align: center;
    vertical-align: middle;
    font-size: 10px;
    color: rgb(255, 255, 255);
}

.cluster56 {
    width: 56px;
    height: 56px;
    line-height: 56px;
    background: url('./images/map4.png') no-repeat;
    text-align: center;
    vertical-align: middle;
    font-size: 10px;
    color: rgb(255, 255, 255);
}

.cluster52 {
    width: 52px;
    height: 52px;
    line-height: 52px;
    background: url('./images/map5.png') no-repeat;
    text-align: center;
    vertical-align: middle;
    font-size: 10px;
    color: rgb(255, 255, 255);
}